<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="iconfont/iconfont.css"/>
				<link rel="stylesheet" href="css/MyOrders.css"/>
				<script type="text/javascript" src="../../js/myordershastwo.js"></script>
		<script src="../js/jquery-3.5.1.min.js"></script>
		<link rel="stylesheet" href="../css/thenlogin.css"/>
	</head>
	<body style="background-color: #f7f7f7;">
	<div id="box">
		<!-- 遮罩层 -->
		<div id="zzc"></div>

		<div class="headNav">
			<div class="headNavRbox">
				<a href="">三星官网</a>
				<a href="">盖乐世社区</a>
				<a href="">三星商城VIP用户专属服务</a>
				<a href="">三星商城APP</a>
				<a href=""><span class="iconfont icon-dianhua" style="margin-right: 5px;"></span>400 011 8899</a>
			</div>
		</div>

		<div class="gnb_nav">
			<div class="gnb_nav_img gnb_nav_float">
				<a href=""><img src="img/global-samsung-logo1.png" /></a>
			</div>

			<div class="gnb_nav_center gnb_nav_float">
				<li>手机/平板</li>
				<li>手表/耳机</li>
				<li>电视/影视</li>
				<li>生活家电</li>
				<li>显示器/存储</li>
			</div>

			<div class="gnb_nav_righ">
				<input id="search" type="text" />
				<div class="searchtip"></div>
				<div onclick="search()" class="dosearch"><img src="img/dosearch.png" alt=""></div>
				<span class="iconfont icon-gouwuche" onclick='${sessionScope.user==null?"isnull()":"iscart()"}'></span>
				<c:if test="${user!=null}">
					<div class="gwcnumber"><span class="gwcnumbertext">${cartcount}</span></div>
				</c:if>
				<li>${sessionScope.user==null?"<a href='/login' id='delu'>登录/注册</a>":"<img src='img/login.png' width=25 height=25 id='Login' onmouseover='Login()'>"}</li>
				<div id="levitation">
					<div><a href="/MyOrdershas">我的订单</a></div>
					<div><a href="/MyCollection">我的收藏</a></div>
					<div><a href="/Myevaluation">我的评价</a></div>
					<div><a href="/center">个人主页</a></div>
					<div><a href="/Shippingaddress">收货地址</a></div>
					<div><a href="/isnull">退出</a></div>
				</div>
			</div>

			<!-- 显示的盒子 -->
			<div id="show">
				<div id="show_conten_header">
					<h1>手机/平板</h1><span id="cancelshow">×</span>
				</div>

				<div class="show_nav_conten">
					<div class="showNavone">
						<li class="newtuijian">新品推荐<span><img src="img/rightarrow.png" alt=""></span></li>
						<c:forEach items="${selectxl}" var="xl">
							<li  class="xlli" id="${xl.xid}">${xl.xname}<span><img src="img/rightarrow.png" alt=""></span></li>
						</c:forEach>
					</div>
					<div class="showNavtwo">
						<div class="showNavtwoson">
							<c:forEach items="${newgoods}" var="n">
								<li onclick="chuandetail(${n.sid},${n.lid})">${n.sname}<span>新</span></li>
							</c:forEach>
						</div>
					</div>
					<div class="showNavthree">
						<div id="advertisebox">
							<img src="img/advertisePhone.png" alt="">
						</div>
						<a>Galaxy S23系列</a><br />
						<a id="lianjie">了解更多</a>
					</div>
				</div>
			</div>

		</div>
	</div>
		<div class="baozi">
		<div>
		<div id="Homepage-1">
			<a href="">首页</a>
			<span> > 个人主页</span>
		</div>
		<div class="centre-box">
			<div>
				<div id="sidebar-box">
					<p>交易管理</p>
					<div  style="margin-top: 18px;"><a href="/MyOrdershas" style=" color: #0381fe;" >我的订单</a></div>
					<div><a href="/Myevaluation">评价晒单</a></div>
					
					<p  style="margin-top: 40px;">我的账户</p>
					<div style="margin-top: 18px;"><a href="/center">个人主页</a></div>
					<div><a href="/PersonalInformation">个人信息</a></div>
					<div><a href="/AccountSettings">账号设置</a></div>
					<div><a href="/Shippingaddress">地址管理</a></div>
					<div><a href="/MyCollection">我的收藏</a></div>
					<div><a href="">消息通知</a></div>
					<div><a href="">我的定制</a></div>
					<div><a href="">中奖记录</a></div>
					<div><a href="">售后服务</a></div>
					<div><a href="">服务支持</a></div>
					<div><a href="">优惠券</a></div>
					<div><a href="">企业购</a></div>
					<div><a href="">学生购</a></div>
				</div>
			</div>
			
			<div id="aeddrs">
				<!--以上为个人主页 以下为我的订单 -->
				<div class="navigation-bar">
					<div class="writings" style="width: 72px;margin-left: 0px;"><a href="/MyOrdershas">全部订单</a></div>
					<div id="nulls" style="width:75px;"></div>
					<div class="writings" style="border-bottom:solid 2px #1673ff "><a href="/MyOrdershas?v=two">待付款</a></div>
					<div id="nulls"></div>
					<div class="writings"><a href="/MyOrdershas?v=three">待收货</a></div>
					<div id="nulls"></div>
					<div class="writings"><a href="/MyOrdershas?v=four">已完成</a></div>
					<div id="nulls"></div>
					<div class="writings"><a href="/MyOrdershas?v=five">已取消</a></div>
				</div>
				<c:forEach items="${orders}" var="x">
					<c:if test="${x.isdel}">
					<c:if test="${x.dstatus eq '待付款'}">
					<div id="orderss">
						<div>
							<div id="box-s2">
								<p>下单时间:<b> ${x.dtime}</b></p>
								<p>订单编号:<b> ${x.dxnumber}</b></p>
							</div>
							<div>
								<input class="orderdid" type="hidden" value="${x.did}">
								<button onclick="orderdel()" id="buuot">删除</button>
							</div>
						</div>
						<div class="orderss-box1">
							<div id="acount-5">
								<div style="margin-top: 90px;">￥${x.dtotal}</div>
								<div>${x.dstatus}</div>
								<input type="hidden" value="${x.did}">
								<div class="lookxq" onclick="lookxq()">查看详情</div>
							</div>
							<c:forEach items="${ordersgoods}" var="a">
								<c:if test="${x.did == a.orderDetails.did}">
									<div class="orderss-1">
										<div id="box-s3">
											<img src="${a.orderDetails.detail.commodity.url}" width="90" height="90">
											<div>
												<p>${a.orderDetails.detail.commodity.sname}${a.orderDetails.detail.commoditycolor.yname}${a.orderDetails.detail.commoditymemory.nname}</p>
												<p>${a.orderDetails.detail.commoditymemory.nname}${a.orderDetails.detail.commoditycolor.yname}</p>
											</div>
											<p>${a.orderDetails.detail.xprice}</p>
											<p>x${a.orderDetails.gnumber}</p>
										</div>
										<div id="acount-6">
											<div>远程服务</div>
											<div>不需要</div>
											<div>￥0</div>
											<div>x1</div>
										</div>
										<div id="acount-7">
											<div>购机好礼</div>
											<div>
												<div>回收补贴至高享400元</div>
												<div>1年碎屏险</div>
												<div>旅行充电器25W(赠品颜色随机)</div>
											</div>
											<div>
												<div>x1</div>
												<div>x1</div>
												<div>x1</div>
											</div>
										</div>
										<div id="acount-7">
											<div>管家服务</div>
											<div>不需要管家服务</div>
											<div style="margin-left: 217px;color: #004098;">￥0</div>
											<div style="margin-left: 142px;">x1</div>
										</div>
									</div>
								</c:if>
							</c:forEach>
						</div>
					</div>
					</c:if>
					</c:if>
				</c:forEach>
			</div>
		</div>
		</div>
		</div>
<!-- 以下为底部 -->	
<div id="baobox">
	<div>
		<div class="BOX2">
			<div class="BOX3">
				<div class="BOX4">
				<img src="img/icon-logistics.png">
				<p>专业客服团队/提供当季优惠信息</p>
				</div>
				<div class="BOX5">
				<img src="img/icon-seven.png">
				<p>7天无理由退货15天换货(定制商品除外)</p>
				</div>
			</div>
			
			<div class="BOX9">
				<div class="BOX10">
				<div class="BOX11">
				<img src="img/icon-hand.png">
				<span>官方正品请安心购买</span>
			    </div>
				<div class="BOX12">
				<img src="img/icon-phone.png">
				<div>
					<span>服务中心</span><br>
					<span style="font-weight: 600;">400-011-8899(09:00~22:</span><br>
					<span style="font-weight: 600;"> 00)</span>
				</div>
				</div>
				</div>
				<div class="BOX13">
					<div >关注我们</div>
					<img src="img/icon-app.png" style="margin-right:105px;">
					<img src="img/icon-wb.png" style="margin-right:25px;">
					<div style="display: flex;padding-left: 240px;width: 110px;">
						<p>微博</p>
						<p style="padding-left: 20px;">下载<p style="font-weight:600">APP</p></p>
					</div>
				</div>
			</div>
				<div class="BOX7">
					<div>
						<h4>产品</h4>
					<p> <a href="">手机/平台</a></p>
					<p>	<a href="">手表/耳机</a></p>
					<p>	<a href="">电视/影音</a></p>
					<p>	<a href="">生活家电</a> </p>
					<p>	<a href="">显示器/存储</a></p>
					</div>
					<div style="margin-left: 56px;">
						<h4>我的三星</h4>
						<p> <a href="">我的订单</a></p>
						<p>	<a href="">我的星钻</a></p>
						<p>	<a href="">优惠券</a></p>
						<p>	<a href="">个人地址</a> </p>
						<p>	<a href="">收货地址</a></p>
					</div>	
				</div>
				<div class="BOX8">
					<div style="height: 230px;">
						<h4>产品</h4>
						<p> <a href="">常见问题</a></p>
						<p>	<a href="">三星商城账号</a></p>
						<p>	<a href="">产品和订单</a></p>
						<p>	<a href="">商品支付及发票</a> </p>
						<p>	<a href="">三星专属管家服务</a></p>
						<p>	<a href="">物流</a></p>
						<p>	<a href="">售后服务</a></p>
					</div>
					<div style="margin-left: 50px;"> 
						<h4>服务支持</h4>
						<p> <a href="">关于商城</a></p>
						<p>	<a href="">关于三星</a></p>
						<p>	<a href="">售后网点查询</a></p>
						<p>	<a href="">联系我们</a> </p>
						<p>	<a href="">体验反馈➚ </a></p>
					</div>
				</div>		
		</div>
		<div class="BottomBox">
			<div>
				<p style="padding-left: 50px;width: 100px;height: 20px;">隐私政策</p>
				<p style="width: 100px;height: 20px;">用户协议</p>
				<p style="width: 100px;height: 20px;">网站地图</p>
				<p style="margin-left: 600px;width: 370px;">© 1995-2023 三星（中国）投资有限公司 版权所有</p>
			</div>
			<div>
				<img src="img/icon-record.d0289dc0.png" style="margin-left: 50px;" width="20" height="20">
				<p>京公网安备 11010502040099号</p>
				<p style="padding-left: 20px;">京ICP备05068163号</p>
				<img src="img/icon-gscord.c3e17e54.png" width="20" height="20">
				<p>营业执照</p>
				<p style="padding-left: 450px;">三星（中国）投资有限公司运营三星商城并销售产品</p>
			</div>
		</div>
		</div>
		</div>
		
	</body>
</html>